<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: 62585
  Date: 2021/4/6
  Time: 19:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>validation jsp</title>
</head>
<body>
    <form:form method="post" action="${pageContext.request.contextPath}/validationTest" modelAttribute="people">
        电子邮件：<form:input path="email"/> <form:errors path="email"/> <br/>
        姓氏：<form:input path="lastName"/><form:errors path="lastName"/><br/>
        生日：<form:input path="birthday"/><form:errors path="birthday"/><br/>
        计划：<form:input path="plan"/><form:errors path="plan"/><br/>
        <input type="submit" value="提交">
    </form:form>

</body>
</html>
